<form id="Form_Form" action="/ajaxbbs/admin?index.php?action=managecategories" method="post">
<div>
<h1>编辑版块</h1>
<div class="FilterMenu">
<a class="Button" href="/ajaxbbs/admin?action=addcategory">添加版块</a>
</div>
<table id="CategoryTable" class="FormTable Sortable AltColumns">
<thead>
<tr id="0">
<th>名称</th>
<th class="Alt">描述</th>
<th>操作</th>
</tr>
{% for forum in forum_list %}
<tr id="1" class="Alt Child">
<td class="First">
<a href="/ajaxbbs/admin/index.php?action=editcategory&id={{ forum["fid"] }}">{{ forum["name"] }}</a>
</td>
<td class="Alt">{{ forum["description"] }}</td>
<td>
<a href="/ajaxbbs/action/admin/do_category.php?id={{ forum["fid"] }}&action=delete">删除</a>
</td>
</tr>
{% endfor %}
</table>
</div>
</form>